home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 38 / PC Gamer IT CD 38 1-2.iso / HG2DEMO / hg2demo.exe / data / Shell / ldl / grlbchas.ldl < prev    next >
Text File  |  1998-10-18  |  5KB  |  278 lines

  1. # "grlbchas.ldl" , LIST BOX CHASSIS
  2.  
  3. ################################################################
  4.  
  5. template chassis_ranger {
  6.     string    orientation    "vertical"
  7.     string    type    "scroller"
  8.     bool    quantizedrag    true
  9.     bool    rigidthumb    true
  10.     string    image0    "RNGBARV0.BMP"
  11. }
  12.  
  13. template chassis_ranger_images {
  14.     int    widthpix    20
  15.     int    heightpix    20
  16.     string    image0    "RANGER_0.BMP"
  17.     string    activeimage0    "RANGERA0.BMP"
  18.     string    image1    "RANGER_1.BMP"
  19. }
  20.  
  21. template chassis_header_text {
  22.     string    fontname    "ARIALNB.TTF"
  23.     int    fontcolorblue 248
  24.     int    fontcolorred    76
  25.     int    fontcolorgreen 142
  26.     int    textbgred    255
  27.     int    textbggreen    0
  28.     int    textbgblue    255
  29.     int    fontsize    12
  30.     bool    vertcenter    true
  31.     bool    wordwrap    true
  32. }
  33.  
  34. ################################################################
  35.  
  36. gear_listbox_text:FONT_7:MULTICOLOR {
  37.     int    widthpix    112
  38.     int    heightpix    17
  39.     int    deflatetextrectx    10
  40.      string    just    "left"
  41.     string    activeimage0    "SBTN031X.TGA"
  42.     string    activatesound    "mouseover.wav"
  43. }
  44.  
  45. ################################################################
  46.  
  47. gear_popuplist_chassis {
  48. ###### POP UP LIST FOR BRIEFING AND CONST. SUMMARY PAGES ######
  49.     int    widthpix    112
  50.     int    heightpix    100
  51.     pl_chassis {
  52.         int    xpix    0
  53.         int    ypix    0
  54.         int    widthpix    112
  55.         int    heightpix    100
  56.         bool    vertcenter    TRUE
  57.         string    image0    "SDBx004x.TGA"
  58.         string    imageblttype    "stretch"
  59.         item:FONT_7:MULTICOLOR {
  60.             int    widthpix    112
  61.             int    heightpix    17
  62.             bool    vertcenter    TRUE
  63.         }
  64.         uparrow {
  65.         ### Removed the following --- :chaslist.uparrow ###
  66. #            int    xpix    0
  67. #            int    ypix    0
  68. #            int    widthpix    200
  69. #            int    heightpix    20
  70.         }
  71.         downarrow {
  72.         ### Removed the following --- :chaslist.downarrow ###
  73. #            int    xpix    0
  74. #            int    ypix    0
  75. #            int    widthpix    200
  76. #            int    heightpix    20
  77.         }
  78.     }
  79. }
  80.  
  81.  
  82. gear_listbox_chassis {
  83.     int    xpix    400
  84.     int    ypix    200
  85.     int    widthpix    112
  86.     int    heightpix    96
  87.     int    itemoffsetx    2
  88.     int    itemoffsety    3
  89.     int    itemheight    15
  90.     lb_chassis:VERTSCROLLBAR {
  91.         int    xpix    0
  92.         int    ypix    0
  93.         int    widthpix    112
  94.         int    heightpix    96
  95.         int    rangeryoffsetx    2
  96.         bool    alwaysranger    TRUE
  97.         string    selectimage    "SBTN003D.TGA"
  98.         string    imageblttype    "stretch"
  99.         string    image0    "SDBx004x.TGA"
  100.         string    activeimage0    "SDBx004x.TGA"
  101.         string    image1    "SDBx004x.TGA"
  102.         item:FONT_7:MULTICOLOR {
  103.             int    widthpix    112
  104.             int    heightpix    16
  105.             string    just    "center"
  106.         }
  107.         header {
  108.             switch0 : FONT_8:MULTICOLOR:chaslist.chassis  {
  109.                 int    widthpix    112
  110.                 int    heightpix    96
  111.                 string    just    "center"
  112.             }
  113.         }
  114.     }
  115. }
  116.  
  117.  
  118. ################################################################
  119.  
  120. gear_listbox_variant {
  121.     int    xpix    400
  122.     int    ypix    200
  123.     int    widthpix    200
  124.     int    heightpix    400
  125.     lb_variant {
  126.         int    xpix    0
  127.         int    ypix    20
  128.         int    widthpix    180
  129.         int    heightpix    380
  130.         string    image0    "SFRA006X.TGA"
  131.         header {
  132.             switch0 : chassis_header_text:chaslist.variant {
  133.                 int    widthpix    180
  134.                 int    heightpix    20
  135.                 string    just    "center"
  136.             }
  137.         }
  138.         rangery : chassis_ranger {
  139.             int    widthpix    20
  140.             incx : ranger_images {
  141.             }
  142.             decx : ranger_images {
  143.             }
  144.             thumb : ranger_images {
  145.             }
  146.         }
  147.     }
  148. }
  149.  
  150. gear_popuplist_variant {
  151.     int    xpix    200
  152.     int    ypix    100
  153.     int    widthpix    200
  154.     int    heightpix    100
  155.     pl_variant {
  156.         int    xpix    0
  157.         int    ypix    0
  158.         int    widthpix    200
  159.         int    heightpix    100
  160.  
  161.         uparrow:chaslist.uparrow {
  162.             int    xpix    0
  163.             int    ypix    0
  164.             int    widthpix    200
  165.             int    heightpix    20
  166.         }
  167.         downarrow:chaslist.downarrow {
  168.             int    xpix    0
  169.             int    ypix    0
  170.             int    widthpix    200
  171.             int    heightpix    20
  172.         }
  173.     }
  174. }
  175.  
  176.  
  177. ################################################################
  178.  
  179. # LOCAL TEMPLATE
  180. template ranger_images {
  181.     int    widthpix    20
  182.     int    heightpix    20
  183.     string    image0    "RANGER_0.BMP"
  184.     string    activeimage0    "RANGERA0.BMP"
  185.     string    image1    "RANGER_1.BMP"
  186. }
  187.  
  188. template ranger_text:FONT_10:MULTICOLOR {
  189. }
  190.  
  191. template ranger_ranger {
  192.     string    orientation    "horizontal"
  193.     string    type    "scroller"
  194.     bool    quantizedrag    true
  195.     bool    rigidthumb    true
  196. #    string    image0    "RNGBAR_0.BMP"
  197. }
  198.  
  199. ################################################################
  200.  
  201. pilot_list {
  202.     int    xpix    50
  203.     int    ypix    50
  204.     int    widthpix    100
  205.     int    heightpix    340
  206.     lb_pilot {
  207.         int    xpix    0
  208.         int    ypix    20
  209.         int    widthpix    80
  210.         int    heightpix    320
  211.         string    textblttype    "tile"
  212.         string    image0    "B0_32X32.BMP"
  213.         header {
  214.             switch0 : chassis_header_text:chaslist.pilots {
  215.                 int    widthpix    80
  216.                 int    heightpix    20
  217.                 string    just    "center"
  218.             }
  219.         }
  220.         rangery : chassis_ranger {
  221.             int    widthpix    20
  222.             incx : ranger_images {
  223.             }
  224.             decx : ranger_images {
  225.             }
  226.             thumb : ranger_images {
  227.             }
  228.         }
  229.     }
  230. }
  231.  
  232. pilot_popuplist  {
  233.     int    xpix    200
  234.     int    ypix    100
  235.     int    widthpix    100
  236.     int    heightpix    100
  237.     pl_pilot {
  238.         int    xpix    0
  239.         int    ypix    0
  240.         int    widthpix    100
  241.         int    heightpix    100
  242.  
  243.         uparrow:chaslist.uparrow {
  244.             int    xpix    0
  245.             int    ypix    0
  246.             int    widthpix    100
  247.             int    heightpix    20
  248.         }
  249.         downarrow:chaslist.downarrow {
  250.             int    xpix    0
  251.             int    ypix    0
  252.             int    widthpix    100
  253.             int    heightpix    20
  254.         }
  255.     }
  256. }
  257.  
  258. ################################################################
  259.  
  260. pilot_lb_entry {
  261.     int    widthpix    80
  262.     int    heightpix    80
  263.     string    fontname    "ARIALNB.TTF"
  264.     int    fontcolorblue 215
  265.     int    fontcolorred    139
  266.     int    fontcolorgreen 190
  267.     int    textbgred    255
  268.     int    textbggreen    0
  269.     int    textbgblue    255
  270.     int    fontsize    12
  271.     bool    vertcenter    true
  272.     bool    wordwrap    true
  273.     int    maxlength    64
  274.     string    just    "center"
  275. }
  276.  
  277. $
  278.